@extends('admin.public.base')


@section('title', '重置密码')

@section('content')

    @if ($errors->any())
        <div class="alert alert-danger">
            <ul>
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    @endif



    <form class="form-horizontal" action="/admin/rpwdpost" method="post">
        @csrf
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">旧密码</label>
            <div class="col-sm-10">
                <input type="password" name="oldpwd" class="form-control" id="inputEmail3" placeholder="旧密码">
            </div>
        </div>

        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">新密码</label>
            <div class="col-sm-10">
                <input type="password" name="newpwd" class="form-control" id="inputEmail3" placeholder="新密码">
            </div>
        </div>

        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">确认密码</label>
            <div class="col-sm-10">
                <input type="password"name="newpwd_confirmation"  class="form-control" id="inputEmail3" placeholder="确认密码">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-default">确认重置</button>
            </div>
        </div>
    </form>

@endsection
